<!DOCTYPE html>
<html>
<head>
<meta charset='UTF-8'>
<title>
JS极简练习
</title>
<style>
  li {color: orange;}
  .js li {color: purple;}
</style>
<script src='test-dom.js' type='text/javascript'></script>
</head>
<body>
<script>
  var a = ["HTML", "CSS", "JavaScript"]
  add_list(a)
</script>
<div>Hello world</div>
<div class='js'>
<script>
  var a = ["盒子模型", '浮动', '定位', "动画", "排版"]
  b = document.getElementsByClassName('js')[0]
  append_list(a, b, order=true)
</script>
</div>
<div>你好世界</div>
</body>
</html>
